package com.work.facade.impl;

import javax.ejb.EJB;
import javax.ejb.Stateless;

import com.work.dao.SprintDAO;
import com.work.facade.SprintFacade;
import com.work.model.Sprint;

/**
 * The Class SprintFacadeImpl.
 *
 * @author "Mihai Roman"
 */
@Stateless
public class SprintFacadeImpl implements SprintFacade {

	@EJB
	private SprintDAO sprintDAO;
	
	@Override
	public void save(Sprint sprint) {
		sprintDAO.save(sprint);
	}

	@Override
	public void update(Sprint newSprint) {
		sprintDAO.update(newSprint);
	}

	@Override
	public void delete(Sprint sprint) {
		sprintDAO.delete(sprint);
	}

}
